import { createLogger,format,transports } from 'winston'
export const logger=createLogger({
  format: format.combine(
    format.colorize(),
    format.json(),
    format.splat(),
    format.simple()
  ),
  transports: [
    new transports.Console({
      handleExceptions: true
    })
  ],
  exitOnError:false
})